package com.xbongbong.paas.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author youli.chen
 * @version v1.0
 * @description: 开关自动打开详情开关(来电是否自动弹出客户详情)
 * @date 2019/2/27 16:00
 * @since v1.0
 */
@Setter
@Getter
@ToString
public class CallSwitchAutoOpenDetailDTO extends BaseDTO {

    /**
     * 话务中心平台，参考CallCenterTypeEnum
     */
    @NotNull(message = "{dto.msg.autoCommunicate.moduleType.NotNull}")
    private Integer moduleType;

    /**
     * 标识
     * 来电是否自动弹出客户详情 : autoOpenDetail   隐藏号码段: showPhone
     */
    @NotBlank(message = "{dto.msg.callSwitchAutoOpenDetail.type.NotBlank}")
    private String type;
}
